package dmeo;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.nio.charset.StandardCharsets;

public class helloword {
    public static void main(String[] args) {
        try (FileOutputStream out = new FileOutputStream("fos.txt")){
            String s = "我们都是大佬";
            out.write(s.getBytes(StandardCharsets.UTF_8));
            System.out.println("写出完毕");
            System.out.println("分支上进行了修改操作");
            System.out.println("主线上添加了一段语句");
            System.out.println("分支上又修改了一行内容");//插入一条注释
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
